#pragma once



namespace KAudio {

	/* These function will encapsulate the OpenAL API and unify the difference on
	different platform such as Windows, Android and IOS.
	*/
	typedef int SOUND_HANDLE;

	bool Initialize();
	void Destory();

	void TimeElapse(unsigned int ms);

	SOUND_HANDLE OpenSound(const char* filename);
	void ClearAllSound();
	void PlaySound(SOUND_HANDLE hSound);
	void StopAllSound();

	int PlayStream(const char* filename);
	void StopStream(int streamIdx);
}



